// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
const apiPrefix = '/web';

/** 此处后端没有提供注释 GET /eventexcelconfig */
export async function eventExcelConfigControllerGet(options?: { [key: string]: any }) {
  return request<API.EventExcelConfig[]>(`${apiPrefix}/eventexcelconfig`, {
    method: 'GET',
    ...(options || {}),
  });
}

/** 此处后端没有提供注释 GET /eventexcelconfig/sync */
export async function eventExcelConfigControllerSync(options?: { [key: string]: any }) {
  return request<boolean>(`${apiPrefix}/eventexcelconfig/sync`, {
    method: 'GET',
    ...(options || {}),
  });
}

/** 此处后端没有提供注释 POST /eventexcelconfig/upload */
export async function eventExcelConfigControllerUpload(body: {}, options?: { [key: string]: any }) {
  return request<boolean>(`${apiPrefix}/eventexcelconfig/upload`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 此处后端没有提供注释 POST /eventexcelconfig/uploadbit */
export async function eventExcelConfigControllerUploadBitExcel(
  body: {},
  options?: { [key: string]: any },
) {
  return request<boolean>(`${apiPrefix}/eventexcelconfig/uploadbit`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
